package com.itcg.library.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PageBean<T> {
    //当前页码
    private Integer pageNum;
    //每页显示记录数
    private Integer pageSize;
    //总记录数
    private Long totalCount;
    //总页数
    private Integer totalPage;
    //当前页面数据
    private List<T> dataList;
}